/* 
 * File:   fruitconstantstest.cpp
 * Author: dolphinigle
 *
 * Created on March 11, 2011, 2:19 PM
 */

#include <stdlib.h>
#include "gtest/gtest.h"
#include "fruitconstants.hpp"

TEST(FruitConstantsTest, Consistency) {
  EXPECT_TRUE(FruitConstants::getFruitCount() >= 0);
  for (int i = 0; i < FruitConstants::getFruitCount(); ++i) {
    EXPECT_NE(FruitConstants::getFruitName(i), "_");
    EXPECT_NE(FruitConstants::getFruitSellPrice(i), -1000000005);
  }
}


